/*
	QUBE
	Sandra Obermann - QPT 1 - 2012
	fhs33730 - 1110601021
	FH Salzburg - Studiengang MultiMediaTechnolgy
*/

#ifndef TIMER_H_INCLUDED
#define TIMER_H_INCLUDED

// Cinder Includes
#include "cinder/app/AppBasic.h"

// My QubeTimer Class
class QubeTimer
{
public:

	// Default QubeTimer Constructor/Destructor
	QubeTimer();
	virtual ~QubeTimer();

	// QubeTimer Functions
	void		updateTime( double passedTime );
	double		getDeltaTime();
	double		getSessionTime();
	void		stopSessionTime();
	void		resetSessionTime();

private:

	// QubeTime Properties 
	double		m_lastTime;
	double		m_sessionTime;
	double		m_delta;
	bool		m_sessionActive;
};

#endif // TIMER_H_INCLUDED